package com.jianzong.lingxuan.api.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jianzong.lingxuan.api.entity.SectUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;


import java.util.Map;

/**
 * 宗门-用户表 Mapper 接口
 * @author lwl
 * @since 2021-07-20
 */
public interface SectUserMapper extends BaseMapper<SectUser> {

    Map<String,Object> selectUserInfo(@Param("userName") String userName, @Param("passWord") String passWord);

    Map<String, Object> selectUserInfoByAdmin(@Param("id")String id);

    Page<Map<String, Object>> queryTaskList(@Param("id")String id, Page<Map<String,Object>> page);

    Page<Map<String, Object>> queryUserPetsList(@Param("id")String id, Page<Map<String,Object>> page);

    Page<Map<String, Object>> queryUserPetsSkillList(@Param("userPetsId")String userPetsId, Page<Map<String,Object>> page);

    Page<Map<String, Object>> queryUserMountList(@Param("id")String id, Page<Map<String,Object>> page);

    Page<Map<String, Object>> queryUserMountSKillList(@Param("userMountId")String userMountId, Page<Map<String,Object>> page);

}
